package cn.njxzc.examples;

class C1
{
	int c;
	C1(int a)
	{
		c = 0;
		for (int i = 0; i <= a; i++)
			c += i;
	}
	C1(C1 b)
	{
		c = b.c;
	}
}
class Exer3_3
{
	public static void main(String[] args)
	{
		C1 c1 = new C1(6);
		C1 c2 = new C1(new C1(4));
		System.out.println("c1: " + c1.c);
		System.out.println("c2: " + c2.c);
	}

}
